package cn.school.stu.evaluation.service;

import cn.school.stu.evaluation.entity.StuEvaPlan;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.Map;

/**
 * @author: lx
 * @date: 2023/5/25 9:28
 * @description: 考评方案service层
 */
public interface StuEvaPlanService {

    /**
     *  新增或修改考评方案
     * @param stuEvaPlan
     * @return
     */
    int createStuEvaPlan(StuEvaPlan stuEvaPlan);

    /**
     *  分页查询考评方案
     * @param queryParam
     * @return
     */
    IPage<StuEvaPlan> findStuEvaPlanPageList(Map<String, Object> queryParam);

    /**
     *  根据考评方案id查询
     * @param id
     * @return
     */
    StuEvaPlan findStuEvaPlanById(Long id);

    /**
     *  根据考评方案id删除
     * @param id
     * @return
     */
    int deleteStuEvaPlanById(Long id);
}
